<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
			if (!wx.cloud) {
				console.error('请使用 2.2.3 或以上的基础库以使用云能力')
			} else {
				wx.cloud.init({
					traceUser: true,
					env: 'cloud1-7gdmofgod6fd2d3a' //写自己配置的后台环境
				})
			}
		},
		onLoad() {
		   console.log(123)
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style>
	/*每个页面公共css */
	page {
		margin: 0;
		padding: 0;

	}

	html,
	body {
		width: 100%;
		height: 100%;
	}

	.clear::after,
	.clear::before {
		content: '';
		height: 0;
		display: block;
		clear: both;
	}
	.left_f1{
		height: 100%;
		float: left;
		background-color: #007AFF;
	}
	.left_f2{
		height: 100%;
		float: left;
		background-color: #FF8917;
		
	}
	.position_ab{
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%,-50%);
	}
</style>
